package com.umeng.soexample.di.modules;

import com.umeng.soexample.mvp.contract.SeeFragmentContract;
import com.umeng.soexample.mvp.model.SeeFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class SeeFragmentModules {
    private SeeFragmentContract.SeeFragmentIView iView;

    public SeeFragmentModules(SeeFragmentContract.SeeFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public SeeFragmentContract.SeeFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public SeeFragmentContract.SeeFragmentIModel providerIModel(){
        return new SeeFragmentModel();
    }



}
